/**
* @Title: caseHandle_service.js
* @Description: TODO
* Copyright: Copyright (c) 2014 
 * Company:中国平安
*
* @Project HIMS-FWA
* @date 2014年11月11日 下午4:43:38
* @version V1.0
*/
;
(function(){
	'use strict';
	
	var app = angular.module('fwa.services');
	app.service('AuditPostService',['$http','BaseURL', function($http, baseUrl){
		
		

	    /**
	     *  
	     *	获取待处理的待办数量
	     * 
	     */
		this.getPendingAudit = function(){
			return $http({
				url:baseUrl + 'auditWorkingArea/getAuditPost.do',
				method:'GET'
			});
		};
	 
		 /**
	     *  
	     *	获取事件案件汇总
	     * 
	     */
		this.getQuestionCount = function(){
			return $http({
				url:baseUrl + 'auditWorkingArea/getAllQuestionCount.do',
				method:'GET'
			});
		};
		
		/**
		 * 获取事件列表
		 */
		this.queryProblemTaskList = function(code){
			return $http({
				url:baseUrl + 'auditWorkingArea/queryProblemTaskList.do',
				method:'GET',
				params: {
					code:code
				}
			});
		};
		
		/**
		 * 获取案件列表
		 */
		this.queryCaseTaskList = function(code){
			return $http({
				url:baseUrl + 'auditWorkingArea/queryCaseTaskList.do',
				method:'GET',
				params: {
					code:code
				}
			});
		};
		
	}]);
	
})();
